import { createRouter, createWebHistory } from "vue-router";

import InsertAdd from '../views/InsertAdd.vue'
import InsertShow from '../views/InsertShow.vue'
import InsertUpa from '../views/InsertUpa.vue'

const routes = [
    {
        path: "/",
        name: "InsertAdd",
        component: InsertAdd
    },
    {
        path: "/InsertShow",
        name: "InsertShow",
        component: InsertShow
    },
    {
        path: "/InsertUpa/:I_Id",
        name: "InsertUpa",
        component: InsertUpa
    }

]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router